package cn.liuhuan1.webModelBean.api;

import cn.liuhuan1.entity.PageResult;
import cn.liuhuan1.webModelBean.bo.LeaveWordBo;
import cn.liuhuan1.webModelBean.vo.LeaveWordVo;

import java.util.List;

public interface LeaveWordImp {

    /**
     * 获取列表
     * @return
     */
    public List<LeaveWordVo> getLeaveWord();

    PageResult<LeaveWordVo> getPageLeaveWord(LeaveWordBo leaveWordBo);

    LeaveWordVo getLeaveWordById(String id);

    void saveLeaveWord(LeaveWordBo leaveWordBo);

    void updateLeaveWord(LeaveWordBo leaveWordBo);

    void delLeaveWord(String id);

    public void updateStatus(String status,String id);
}
